<?php /* Smarty version 2.6.18, created on 2017-05-27 18:50:04
         compiled from baoweek.html */ ?>


<div class="scrollable backgroundcolorlightpink ng-scope others baoweek">
<div class="scrollable-content overthrow">

<div class="container-fluid cn textcenter"> <!--container-->
	<div id="history_lastweek" style="display: none;">
		<div class="row darkredbg">
	    	<div class="padding10 clearfix">
	    		<div class="pull-left white margintop10">账户历史 (上周）</div>
	            <div class="pull-right">
	            	<div class="thisweek mobilegraymenubtn buttonredradius3 cn inlineblock">本周</div>
	                <div class="lastweek  mobilemenubtn buttonredradius2 cn inlineblock">上周</div>
	            </div>
	        </div>
		</div>
	    <div class="row graybg ">
	    	<div class="padding10 clearfix">
	    		<div class="col-xs-3">日期</div>
	            <div class="col-xs-2">注数</div>
	            <div class="col-xs-3">下注金额</div>
	            <div class="col-xs-2">佣金</div>
	            <div class="col-xs-2">盈亏</div>
	        </div>
		</div>

<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['upbao']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>        
		    <div class="row graylightbg borderbtmred">
		    	<div class="padding10 clearfix" date='<?php echo $this->_tpl_vars['upbao'][$this->_sections['i']['index']]['dates']; ?>
'>
		    		<div class="col-xs-3"><a href="javascript:void(0)"><?php echo $this->_tpl_vars['upbao'][$this->_sections['i']['index']]['date']; ?>
<br><span class="darkred">星期<?php echo $this->_tpl_vars['upbao'][$this->_sections['i']['index']]['week']; ?>
</span></a></div>
		            <div class="col-xs-2 valign"><?php echo $this->_tpl_vars['upbao'][$this->_sections['i']['index']]['zs']; ?>
</div>
		            <div class="col-xs-3 valign"><?php echo $this->_tpl_vars['upbao'][$this->_sections['i']['index']]['zje']; ?>
</div>
		            <div class="col-xs-2 valign"><?php echo $this->_tpl_vars['upbao'][$this->_sections['i']['index']]['points']; ?>
</div>
		            <div class="col-xs-2 cnbig fontbold valign "><a href="javascript:void(0)" class="sy"><?php echo $this->_tpl_vars['upbao'][$this->_sections['i']['index']]['rs']; ?>
</a></div>
		        </div>
			</div>
<?php endfor; endif; ?>
	    
	    <div class="row backgroundcolorpink">
	    	<div class="padding10 clearfix">
	    		<div class="col-xs-3">总计</div>
	            <div class="col-xs-2 valign"><?php echo $this->_tpl_vars['t']['uzs']; ?>
</div>
	            <div class="col-xs-3 valign"><?php echo $this->_tpl_vars['t']['uzje']; ?>
</div>
	            <div class="col-xs-2 valign"><?php echo $this->_tpl_vars['t']['upoints']; ?>
</div>
	            <div class="col-xs-2 cnbig fontbold valign sy"><?php echo $this->_tpl_vars['t']['urs']; ?>
</div>
	        </div>
		</div>
	</div>

	<div id="history_thisweek">
		<div class="row darkredbg">
	    	<div class="padding10 clearfix">
	    		<div class="pull-left white margintop10">账户历史 (本周）</div>
	            <div class="pull-right">
	            	<div class="thisweek mobilemenubtn buttonredradius2 cn inlineblock">本周</div>
	                <div class="lastweek mobilegraymenubtn buttonredradius3 cn inlineblock">上周</div>
	            </div>
	        </div>
		</div>
	    <div class="row graybg ">
	    	<div class="padding10 clearfix">
	    		<div class="col-xs-3">日期</div>
	            <div class="col-xs-2">注数</div>
	            <div class="col-xs-3">下注金额</div>
	            <div class="col-xs-2">佣金</div>
	            <div class="col-xs-2">盈亏</div>
	        </div>
		</div>

<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['bao']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>        
		    <div class="row graylightbg borderbtmred">
		    	<div class="padding10 clearfix"  date='<?php echo $this->_tpl_vars['bao'][$this->_sections['i']['index']]['dates']; ?>
'>
		    		<div class="col-xs-3"><a href="javascript:void(0)"><?php echo $this->_tpl_vars['bao'][$this->_sections['i']['index']]['date']; ?>
<br><span class="darkred">星期<?php echo $this->_tpl_vars['bao'][$this->_sections['i']['index']]['week']; ?>
</span></a></div>
		            <div class="col-xs-2 valign"><?php echo $this->_tpl_vars['bao'][$this->_sections['i']['index']]['zs']; ?>
</div>
		            <div class="col-xs-3 valign"><?php echo $this->_tpl_vars['bao'][$this->_sections['i']['index']]['zje']; ?>
</div>
		            <div class="col-xs-2 valign"><?php echo $this->_tpl_vars['bao'][$this->_sections['i']['index']]['points']; ?>
</div>
		            <div class="col-xs-2 cnbig fontbold valign "><a href="javascript:void(0)" class="sy"><?php echo $this->_tpl_vars['bao'][$this->_sections['i']['index']]['rs']; ?>
</a></div>
		        </div>
			</div>
<?php endfor; endif; ?>

	    <div class="row backgroundcolorpink">
	    	<div class="padding10 clearfix">
	    		<div class="col-xs-3">总计</div>
	            <div class="col-xs-2 valign"><?php echo $this->_tpl_vars['t']['zs']; ?>
</div>
	            <div class="col-xs-3 valign"><?php echo $this->_tpl_vars['t']['zje']; ?>
</div>
	            <div class="col-xs-2 valign"><?php echo $this->_tpl_vars['t']['points']; ?>
</div>
	            <div class="col-xs-2 cnbig fontbold valign sy"><?php echo $this->_tpl_vars['t']['rs']; ?>
</div>
	        </div>
		</div>
	</div>
</div><!--container-->
 <div class="gap100" style="height:200px;"></div> 
    </div>
</div>